Api.WriteAxisOutputs 方法
将值写入轴的输出。
命名空间:IntervalZero.KINGSTAR.OpcUa.Api
组合: IntervalZero.KINGSTAR.OpcUa.Api (于 IntervalZero.KINGSTAR.OpcUa.Client.dll) 版本:4.4.0.0
语法
public KsError WriteAxisOutputs(
int Index,
uint Value
)
Public Function WriteAxisOutputs(
Index As Integer,
Value As UInteger
) As KsError
参数
Index
型别:int
轴索引。索引以 0 为起始;别名将影响此参数。
Value
型别:uint
欲写入的值。
回传值
型别:KsError
方法的回传代码。
备注
在周期回呼中使用,以更新轴的数位输出。
注意:数位输出仅在 EnableAxisOutput 启用时才可使用。
可用的 EtherCAT 状态
ecatOP
范例
N/A
参见